public class Maim {
    public static void main(String[] args) {
        String str1 = new String("abcd");
        String str2 = new String("hello");

        System.out.println(str1.length());
        System.out.println(str2.length());
    }
}
